package edu.jiefengli.course_selection_system.service;

import edu.jiefengli.course_selection_system.pojo.entity.CourseRecord;
import edu.jiefengli.course_selection_system.pojo.entity.User;

import java.util.List;

public interface CourseRecordService {
    List<CourseRecord> getAllRecords();

    boolean addRecord(Integer studentId, Integer courseId);

    List<CourseRecord> getCourseRecordsById(Integer studentId);

    void deleteRecord(Integer studentId, Integer courseId);

    List<User> getSelectedCourseStudent(int courseId);
}
